<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="play" uri="/WEB-INF/couponplay.tld" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<div class="deal_2c">
	<div style="position:relative; top:0px; left:0px; width:400px; height:230px;overflow:hidden;">
	    <div style="position:abusolute;overflow:hidden;">
	    	<a href="javascript:goDeal('${deal.id}', '${deal.providerCode}', '${deal.metaId}');"><img src="${deal.imageUrl1}" style="width:400px;height:230px;"/></a>
	    </div>
		<div style="padding:3px 0px 0px 0px;position:abusolute; top:-100px; left:0px; overflow:hidden;width:400px; background:#e4e4e4;z-index:30;">
			<div style="line-height:180%;">
				<span><a href="javascript:goDeal('${deal.id}', '${deal.providerCode}', '${deal.metaId}');">${deal.title}</a></span><br/>
		    </div>
			<div style="line-height:130%;padding-bottom:10px;">
		    	<span style="color:#000000;font-weight:bold;font-size:12pt;"><fmt:formatNumber value="${deal.salesPrice}" pattern="#,###"/>원</span>  
				<span style="text-decoration:line-through;font-size:8pt;color:#888888;"><fmt:formatNumber value="${deal.originalPrice}" pattern="#,###"/>원</span>
				<span style="font-weight:bold;"><span style="color:#FF0000;font-weight:bold; font-size:12pt;">${deal.discountRate}%</span></span>
		    	<span style="color:#000000;font-weight:bold;font-size:10pt;"><fmt:formatNumber value="${deal.nowCount}" pattern="#,###"/>개</span>
				<span style="font-size:8pt;color:#888888;">구매중</span> 
				<br/>
		    	<span style="font-size:8pt;"><fmt:formatDate value="${deal.saleEndAt}" pattern="yyyy-MM-dd"/></span>
		    	<span style="font-size:8pt;color:#888888;">종료</span>
		    </div>
		</div>
   	</div>
</div>
